#include "stdafx.h"
#include "FndErrThrowTestSuite.h"

using namespace CO::SpiFoundation::ErrorHandling;
using namespace std;

FndErrThrowTestSuite::FndErrThrowTestSuite()
{
	TEST_ADD(FndErrThrowTestSuite::throwCatchTest1);
	TEST_ADD(FndErrThrowTestSuite::throwCatchTest2);
}

void FndErrThrowTestSuite::throwCatchTest1()
{
	TEST_THROWS( throw( BaseError( 0 ) ), BaseError );
}

void FndErrThrowTestSuite::throwCatchTest2()
{
	TEST_THROWS( throw( BaseError( 0 ) ), exception );
}

